package com.baox.agridata.synchronous.service;


import com.baox.agridata.synchronous.entity.TXDRSlaughterHouseEntity;

import java.util.List;

public interface TXDRSlaughterHouseService {


    /**
     * 根据屠宰场id查询是否存在
     *
     * @param mid
     * @return
     */
    TXDRSlaughterHouseEntity selectTXDRSlaughterHouseById(String mid);


    /**
     * 新增屠宰场数据
     *
     * @param txdrSlaughterHouse
     * @return
     */
    Integer insertIntoTXDRSlaughterHouse(TXDRSlaughterHouseEntity txdrSlaughterHouse);


    /**
     * 更新屠宰场数据
     *
     * @param txdrSlaughterHouse
     * @return
     */
    Integer updateTXDRSlaughterHouseById(TXDRSlaughterHouseEntity txdrSlaughterHouse);

    /**
     * 同步四川的屠宰场到成都系统
     *
     * @return
     */
    List<TXDRSlaughterHouseEntity> selectTXDRSlaughterDataToChengDu(String startTime);

}
